var CANVAS_WIDTH = 960	;
var CANVAS_HEIGHT = 540;

var EDGEBOARD_X = 128;
var EDGEBOARD_Y = 42;

var FPS_TIME      = 1000/24;
var DISABLE_SOUND_MOBILE = false;

var STATE_LOADING = 0;
var STATE_MENU    = 1;
var STATE_HELP    = 1;
var STATE_GAME    = 3;

var ON_MOUSE_DOWN = 0;
var ON_MOUSE_UP   = 1;
var ON_MOUSE_OVER = 2;
var ON_MOUSE_OUT  = 3;
var ON_DRAG_START = 4;
var ON_DRAG_END   = 5;

var STATE_GAME_ROLL_IN       = 0;
var STATE_GAME_BALL_MOVE     = 1;
var STATE_GAME_ROLL_OUT      = 2;
var STATE_GAME_SHOOTING      = 3;
var STATE_GAME_ATTRACT_BALLS = 4;

var STEP_LENGTH = 1.8;
var BALL_COLORS = 5;
var BALL_ROLLING_IN;
var BALL_SHOOTED_SPEED = 24;
var COMBO_VALUE ;
var EXTRA_SCORE;
var BALL_DIAMETER;
var BALL_RADIUS;
var BALL_DIAMETER_SQUARE;
var FONT_GAME = "ZombieA";

// window._bd_share_config={common:{bdText:"我在玩《万圣节祖玛》，你敢来挑战我吗？",bdDesc:"我爱h5游戏源码，游戏AND源码，一个也不能少~",bdUrl:"www.52h5game.com/game/wanshengjiezuma",bdPic:""},share:[{"bdSize":16}],slide:[{bdImg:0,bdPos:"right",bdTop:100}]};with(document){0[(getElementsByTagName("head")[0]||body).appendChild(createElement("script")).src="http://bdimg.share.baidu.com/static/api/js/share.js?cdnversion="+~(-new Date()/3600000)]};
